Compression system for integrated sensor devices

ABSTRACT

An imaging system incorporating adaptive compression which includes determining linear predictive differential residuals from an imager array pixel row. The differential residuals are classified into categories, each category having a range of differential residuals associated with it. The categories are analyzed to produce an ordered list having categories with most to least frequent residuals falling within a respective residual range associated with a respective category. The ordered list is then used to select a variable length encoding table with a matching ordered list. Variable length encoded category and range position offset data is output to a serializer unit, where the range position offset refers to a position in a range associated with a particular category.

FIELD OF THE INVENTION

[0001] The present invention relates generally to improved semiconductor imaging devices, and in particular to a compression system for image data transfer.

BACKGROUND OF THE INVENTION

[0002] As imaging technology has evolved, the density of imaging data has increased. Larger amounts of imaging data reduces speed and performance of imaging devices. Accordingly, a variety of approaches have been developed to improve the speed of imaging systems.

[0003]FIG. 1 shows a block diagram of a conventional integrated sensor imager device fabricated on a chip. An imaging sensor 1 with an array of pixels transmits analog pixel signals to a sample and hold analog signal processing circuit 2. The analog output signals from circuit 2 are digitized in an analog to digital converter 3 and the digital signals are processed in an image processor 4. Imaging data is read out of the processor 4 and sent to a serializer 5. The serializer 5 sends imaging data to a transmission unit 7. In some sensors systems, such as the one illustrated in FIG. 1, acquired images show a great deal of correlation from one pixel value to the next. Images with correlation attributes typically exhibit a low entropy when individual differences from one sample to the next are considered for compression (and transmission) instead of the samples from the original image. Entropy is defined as the amount of information content uncertainty of some random variable X. Images that exhibit a high degree of random values are said to have a high entropy, while images where most pixels have the same value are said to exhibit a low entropy.

[0004] The performance of imaging systems can be improved by using compression techniques. Imaging data compression can be grouped into two categories: lossy and lossless compression. Lossless and lossy compression are terms that describe whether or not, in the compression of a file, all original data can be recovered when the file is uncompressed. With lossless compression, every single bit of data that was originally in the file remains after the file is uncompressed. That is, all of the information is completely restored during the decompression of the data. Lossless compression is generally the technique of choice for text or spreadsheet files, where losing words or financial data could pose a problem. The Graphics Interchange File (GIF) is an image format that provides lossless compression.

[0005] Lossy compression, on the other hand, reduces a file by permanently eliminating certain information, especially redundant information. When the file is uncompressed, only a part of the original information is still there (although the user may not notice it). Lossy compression is generally used for video and sound, where a certain amount of information loss will not be detected by most users. The JPEG image file, commonly used for photographs and other complex still images, uses lossy compression techniques. JPEG compression allows a creator to decide how much loss to introduce and make a trade-off between file size and image quality.

[0006] Real-time lossless compression of images acquired from an image sensor can be accomplished using custom logic integrated on the same chip as the imager sensor. It is possible to accomplish lossless compression with a minimal amount of dedicated hardware.

[0007] As density of image data to be transmitted or communicated increases, designers have tried to find ways to maximize lossless compression of the image while at the same time minimizing the amount of dedicated hardware required. Also, many applications require the use of lossless compression due to additional design constraints. For example, remote endoscopy units in medical imaging applications have both hardware area and available bandwidth constraints. Variations of color and texture in medical imaging applications are very small and it is important, from a diagnostic point of view, that subtle variations are captured and not lost. Also, regulatory issues (e.g., FDA approval) will almost certainly be more complex in the with the use of lossy data compression, therefore data loss is undesirable. Accordingly, size, area and other constraints adversely affect speed and efficiency of conventional imaging systems. An increase in available bandwidth and performance due to an improved lossless compression is needed.

BRIEF SUMMARY OF THE INVENTION

[0008] The invention provides a method and apparatus for improved compression of images exhibiting low pixel variations where images are characterized by a strong correlation between one pixel and its immediate neighbors.

[0009] One embodiment provides for the use of linear prediction differential residual calculations to reduce variation between numerical pixel signal values. Differential residuals are classified into categories, where each category describes an ordered range of differential residual values. Frequency of occurrence of each differential residual within a given range is determined and compiled into an ordered list of categories with most frequent residuals, next most frequent residuals and so on to the category with the least number of residuals. A variable length coding table that has the same list of ordered categories is selected from a set of stored variable length coding tables. Once a variable length coding table is selected, each residual is mapped into a variable length codeword associated with a category value along with an offset value. The offset value describes the position of the particular pixel signal value to be encoded within the ordered range associated with each category. Precise reconstruction of the initial pixel signal value can be achieved using a category identifier, a known range associated with a category and a range position offset value. Each mapped variable length codeword and associated range position offset value is sent to a serializer on the imager and then to a transmission unit.

BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The foregoing and other advantages and features of the invention will become more apparent from the detailed description of exemplary embodiments provided below with reference to the accompanying drawings in which:

[0011]FIG. 1 shows a block diagram of a conventional CMOS imager device without compression logic;

[0012]FIG. 2 shows an a block diagram of a CMOS imager sensor with compression logic constructed in accordance with an exemplary embodiment of the invention;

[0013]FIG. 3 shows a table showing categories and offset values as used with an exemplary embodiment of the invention;

[0014]FIG. 3A shows a table showing an expanded representation of one of the FIG. 3 categories which defines a range of symbols and associated position offset values;

[0015]FIG. 4 shows relationships between stored tables, exemplary variable length binary encoding values, associated category identifiers and frequency of differential residual symbol values;

[0016]FIG. 5 shows a processing sequence in accordance with an exemplary embodiment of the invention;

[0017]FIG. 6 shows a table of pixel values in an exemplary row of pixels;

[0018]FIG. 7 shows an exemplary relationships between the FIG. 6 pixel row values and a differential calculation based upon a current pixel value and a preceding pixel value;

[0019]FIG. 8 shows a exemplary relationship between a linear predictive differential (LPD) residual value and a categorization value associated with the LPD residual value;

[0020]FIG. 9 shows an exemplary relationship between ordered category values and frequency of LPD residual values;

[0021]FIG. 10 shows an exemplary relationship between a set of frequency sorted category symbols and binary codenames; and

[0022]FIG. 11 shows an exemplary relationship between binary pixels in a row, category binary values and output data associated with the pixels.

DETAILED DESCRIPTION OF THE INVENTION

[0023] The invention uses adaptive lossless data compression to increase performance of imager sensors. Image data can be manipulated into symbols exhibiting low entropy or variation that can be compressed using adaptive lossless data compression to achieve compression ratios that are between a factor of two and three.

[0024] A variety of advantages are obtained by the use of efficient compression using adaptive lossless data techniques and minimized hardware design. For example, there is an increase in available bandwidth in a given transmission channel. Also, as more information can be represented in a fewer number of bits, the invention allows an increase in the overall throughput of transmitted data and a reduction of power consumption by constant throughput. The invention also has the ability to provide an error resilience capacity in the transmission system. In other words, the increased bandwidth can be used to build in error correction to account for channel transmission errors, thereby increasing data fidelity in the system.

[0025]FIG. 2 shows an exemplary embodiment of an integrated sensor with built-in adaptive compression in accordance with one aspect of the invention. In FIG. 2, an image sensor 9 with a collection of pixels transmits imaging signals to an analog signal processor 11 which includes a sample and hold circuit. The analog signal processor 11 sends analog signals to an analog to digital converter (ADC) 12. The ADC 12 sends digital signals to an imager processor 13. The image processor 13 sends imaging data to compression logic unit 15, which performs adaptive compression of image data on a row-by-row basis in one exemplary embodiment. The compressed image data is sent to a serializer logic unit 17. The serializer logic unit 17 sends imaging data from the serializer to a transmission unit 19.

[0026] A combination of several techniques can be used to perform adaptive compression in embodiments of the invention. Linear predictive differential (LPD), residual classification, variable length encoding and range position offset encoding, for example, can be used with the invention to perform a variety of adaptive data compression functions.

[0027] LPD coding produces a corresponding set of differential residuals from pixel data sampled from a row in the pixel array. LPD coding uses differential information from a set of symbols, such as a grey code or other digitized pixel signal values, to produce residual values that exhibit low variances between the residual values. A previous symbol value and a subsequent symbol value are used to determine each successive differential value. In other words, a differential is obtained by determining how much must be added to the previous value to obtain the current value. One way a differential can be calculated is by subtracting a previous pixel value from a current pixel value. For example, pixel signal values are read from a given pixel row and then digitized. LPD coding is then used to produce an equivalent set of differential residual symbols. Thus, if (12, 14, 13, 18, 17, 19) are a set of six digital values, or symbols, sampled from six pixels in a row, LPD coding of the pixel signal symbols produces the following set of differential residual symbols, (+12, +2, −1, +5,−1, +2). In other words, the differential residual symbol describes the “difference” or variance of a particular symbol from the immediately preceding symbol.

[0028] In the above example, there is no preceding symbol before the value 12, as it is the first in the data set. Accordingly, we can use zero (“0”) as the first preceding symbol. So, the differential residual symbol for 12 is (12 −0) which is +12. The symbol 14 is two more than the preceding symbol 12, therefore the differential residual symbol of 14 is +2. The symbol 13 is one less than the preceding symbol 14, so its differential residual symbol is −1. The differential residual symbol for 18 is +5 and the differential residual symbol for 17 is −1, etc. This continues until the last symbol is converted to its differential residual symbol. In this example, the last symbol is 19, which translates to differential residual symbol +2 (i.e., 2 more than 17).

[0029] Further compression can be accomplished using residual classification. Residual classification reduces the possibility of undesirable data expansion in the encoded datastream by reducing the actual bit size of the largest or maximum bit size of a codeword used to describe pixel data. By defining categories whose elements span a range of differential residual symbol values and replacing the symbols with category identifiers which will then be variable length (VL) entropy coded, the entropy of the pixel datastream is further lowered. Additionally, since a category identifier now takes the place of the binary pixel value (category identifiers, e.g., 1, 2, 3, 4, vs. differential residual symbols), there are now a smaller number of symbols to be encoded. The bit size of the maximum variable length of transmitted codenames (in terms of bits needed) is accordingly reduced.

[0030] Range position offset values are used to uniquely identify a residual in conjunction with the range based category identifier. As previously explained, residuals are converted to category identifiers based on ranges of residual values during encoding to reduce the total number of data symbols for encoding and subsequent transmission. Category identifiers, which indicate which range of residuals an individual residual falls within, must be mapped back to individual residual values when received by a system receiving transmitted compressed image data. Accordingly, additional data beyond range information a particular residual fell within is needed to determine what the original residual value was before conversion to a category identifier. The range position identifier provides the additional data for reverse mapping of category identifiers back to individual residual values. The use of a range position offset value with a category identifier is further explained with reference to FIGS. 3 and 3A below.

[0031] Category identifiers represent a range of residual values. Each category identifier's range boundaries can be based on a variety of factors including magnitude of deviations between particular sets of pixel data or other factors that make distribution of residuals into categories more convenient. For example, an 8-bit pixel signal symbol value can produce LPD residual values ranging from −255 to +255, or 511 total possible residuals to be encoded if no further symbol reduction was performed. Nine categories can be used with an 8-bit example, which is shown in FIG. 3. The use of categories can be used to reduce the number and bit-size of the symbols to be encoded instead of using the large number of LPD residual symbol values for encoding.

[0032] Each category has a range of LPD residuals associated with it. “Position offset” refers to the position a given value occupies in the range associated with a given category. In a range of −15 to −5, −5 occupies position offset zero. The value −4 occupies position offset 1, the value −3 occupies position offset 2 and so on.

[0033]FIG. 3 illustrates an example use of category and associated offset value assignments for 8-bit pixel values where nine categories are defined (0 through 8). Each category i has 2i symbols. Thus, category 0 has just one symbol [0]. Category 1 has two symbols [−1,+1]. Category 2 has four symbols: [−3,−2,+2,+3], and so on. Each differential residual data symbol, e.g., (12, +2, −1, +5, +2) is classified based on its value and mapped into a two-tuple (category, range position offset) transmission set using a stored range table, such as the one shown in FIG. 3. The lowest value in each category is also referred to as offset 0. Each successively higher position offset value has a value that is one more than the position of a previous range element.

[0034]FIG. 3A shows a relationship between differential symbol values in a range with associated range position offsets for one of the categories in FIG. 3, i.e., category 4. Symbols in category 4 can assume values either in the range [−15, . . . ,−8] or in the range [8, . . . , 15]. The lowest value in these ranges, −15 in this case, is coded as having a position offset of “0”. Thus, the difference residual value “11” is coded as (4, 11), wherein “4” represents the category to which “11” belongs and “11” is the range position offset that identifies which position in the range is associated with category 4. Thus, given a matching encoding table (with ranges for each category), category and offset and the original differential residual can be obtained.

[0035] Referring to FIGS. 3 and 3A, for example, the residual value “12” would be converted to (4, 12), denoting category 4 and range position offset of “12” plus one (the zero position) places from the beginning of the range, i.e., “−15”. In other words, range position is determined by counting from range position zero at the beginning of the range (e.g., FIG. 3, −15) until the range position indicated by the range position offset is reached (e.g., range position offset “12”, which is a “+12” differential symbol value), as is shown by FIG. 3A.

[0036] In this exemplary embodiment, each category is defined so that they each contain a number of symbols which are a power of numerical value two. For example, category 0 has one symbol (2⁰), category 1 has two symbols (2¹), category 2 has four symbols (2²) and so on. Offset values can be calculated at the time when categories are assigned or at the time later compression techniques, such as variable length (VL) encoding is accomplished. However, it should be understood the invention is not limited to categories that have power-of-two numbers of symbols.

[0037] Residual classification using methods, such as variable length entropy encoding (also known as VL encoding), provides a technique which can be used to adaptively compress data values. Huffman encoding is one form of VL encoding.

[0038] VL encoding can be used to reduce the bit-size of the symbols to be encoded by determining the most frequently occurring symbols and assigning variable length codewords to symbols based on their intrinsic probability distribution. Most frequently occurring data stream symbols have the smallest bit sized symbols and least frequent data stream occurring symbols have the largest bit sized symbols. Thus, if VL entropy encoding were applied to the set of symbols in the range [−255,+255], then the symbol with the maximum likelihood of occurrence would be assigned a codeword of one bit, while the symbol with the minimum likelihood of occurrence would be assigned a maximum sized codeword of length 511 bits (e.g., the bit 1 written 511 times followed by a delimiter, such as zero). Category identifiers, e.g., category 1, category 2, etc., can be the symbols that are assigned VL codewords based on the frequency of residuals within each category (see FIG. 3). Accordingly, VL codewords which replace category identifiers which are more frequently used have smaller bit-sizes. Conversely, VL codewords replacing lesser used category identifiers have larger bit-sizes. However, it is necessary to analyze the frequency that category identifiers appear in a pixel data stream in order to effectively select which set of VL codewords would offer the best compression (bit-reduction) strategy.

[0039] VL encoding uses probability density function (PDF) data to base determination of the most efficient set of VL codewords. A PDF is computed for a given set of category identifiers determined from range classification of differential residuals. PDF data indicates frequency of occurrence of category identifiers. The PDF data is assembled into an ordered list of categories ranging from the category containing the most differential residuals to the category with the next most highest number of residuals and continuing to the category with the lowest non-zero number of residuals. Once PDF data for a selected row of pixel data has been determined, a VL encoding table with a corresponding PDF data pattern is selected from a group of such tables with different PDF data patterns. VL encoding in this example (e.g., VL encoding of category symbols (i.e., category identifiers)) is dependent on a pattern of residual frequencies per category, which changes rapidly from one image to the next or even across rows within an image. Accordingly, a VL encoding scheme for each pattern of residuals per category is needed to increase compression efficiency for various pixel row signal value distributions. Tables containing VL codewords associated with category identifiers are provided so that each table has a unique combination of VL codewords organized based on different PDF data sequences.

[0040] Each VL encoding table contains a different distribution of PDF match data by category. Referring to FIG. 4, for example, PDF match data for a selected pixel row channel can fall within category 1 (4 residuals), category 3 (3 residuals) and category 7(2 residuals). One of the stored VL encoding tables with a matching PDF sequence of 1, 3 and 7 is selected and the stored VL codewords are used for encoding category symbols (i.e., category identifiers). The selected table will have optimally sized codewords such as, for example, a small sized one-bit vector “0” assigned to the most frequently occurring category, category 1 in the above example. On the other hand, a category 7, which is the least frequently occurring category, may be coded as binary value “10”. If the number of category symbols were larger than in the FIG. 4 example, the least frequently occurring symbol could use the largest bit value possible for a particular coding scheme, such as the 8-bit vector “11111110”. In such a way, the overall size of the symbols used to identify a collection of pixel data from a row to be encoded and transmitted from an imager array as binary values are reduced.

[0041] In this exemplary embodiment, codewords should be assigned to avoid aliasing of codewords to avoid codeword decoding problems. The use of aliasing in some situations gives rise to decoding problems when using variable length codewords. Aliasing is a situation where a string can be decoded as two different codewords, depending on how the string is interpreted. For example, assume one codeword is “1101” and another “110”. During decoding, a string is encountered that is “110110”. The question then arises of whether or not the first “1101” is codeword “1101” or a codeword followed by another codeword. Codeword ambiguity is avoided by using a clearly defined codeword delimiter wherein every codeword ends with zero (“0”). Accordingly, the smallest length codeword will be zero (“0”), the next smallest will be “10”, the next smallest will be “110” and so on.

[0042] For images with low pixel variation, it is usually the case that the probability of the lower categories is always assigned the highest category bit value. As an example, it may be assumed that the probability of category 0 is the highest frequently occurring category. The probabilities of categories 6 to 8 in this example can be assumed to have the least frequently occurring residuals. In such a case, the codewords assigned to these categories may remain fixed irrespective of the row based PDF computations accomplished for each pixel row sampling operation. The relative PDF's of the remaining categories 1 through 5 may vary the most on a row-by-row basis. Consequently, the VL codewords assigned to these middle categories have to change based on differing PDF data patterns for the VL codewords to have an optimal bit-size.

[0043] There are 5! (=120) possible sequences of the five categories in the above example. The resulting VL encoding tables are stored for each of these 120 combinations, allowing a specific VL codeword to be selected based on a given row's specific PDF sequence, which can be calculated at the time of row processing in this exemplary embodiment.

[0044] The additional storage required for storing these tables in this example is 18×120=2160 bytes. Category symbols, i.e., category identifiers, can have pre-assigned codewords stored in these tables for categories whose PDF's are known to be at the high-end or the low end of the probability range. Codewords can also be adaptively computed for those categories whose relative PDF's can change rapidly from one row to another. Limitations on the situations where adaptive computing of categories is used can also be employed to limit the amount of hardware dedicated to adaptive computation of code words as well reduce the amount of time spent in computing the PDFs used to perform VL encoding table selection.

[0045] Acquired images typically include three-channel images, with one channel each for colors, e.g., red, green, and blue, which are sampled from the sensor array 11. Each of these channels can have their own PDF distribution across rows. Each channel can be encoded accordingly using a precomputed VL encoding table which is selected based on a match between calculated PDF data for a sampled pixel row channel and PDF data associated with a stored VL encoding table. A unit receiving the transmitted VL encoded imaging data will calculate the PDF of the incoming imaging data and select one of a number of stored tables that match the PDF data for the incoming image data. It is also possible to transmit an encoding table identifier, which points the decoding system to the correct decoding table which is stored at the reception point.

[0046] Once the appropriate VL encoding table is selected, then sequential transmission of a two-tuple transmission dataset commences. The two-tuple transmission dataset includes a VL encoded category identifier and a range position offset. A category identifier associated with a pixel signal, such as the first pixel in a pixel row, is replaced with an associated VL codeword from the selected VL encoding table. Then, the VL codeword and the range position offset associated with the replaced category identifier is transmitted. Transmission of the two-tuple transmission data set in the present embodiment sequentially continues until all category identifiers and associated range position offset values from a pixel row are transmitted.

[0047] Referring to FIG. 5, an exemplary adaptive compression sequence in accordance with the invention is shown. The FIG. 5 embodiment is discussed with reference to a simplified imager array. An eight pixel row is used herein for ease of illustration of the invention, however, the invention is not limited to eight pixels per row, but can be used with any number of pixels as well as groups of color pixels in rows of color pixel cells.

[0048]FIG. 5 illustrates a compression sequence in accordance with the invention which commences with the sample and hold of one row of a pixel array containing, for example, eight pixels which is then converted into digital form (S51). Eight pixels is used merely as an example and illustrates the invention. In actual practice, there will be many more pixels in each row of a pixel array. In this exemplary embodiment, each color channel in a row is sampled at the same time and processed. In this example, as illustrated in FIG. 6, the following pixel values are sampled from a selected channel in the pixel row: 56, 54, 47, 40, 34, 31, 27, and 26.

[0049] Next, at S53, LPD residuals are determined. The pixel values are processed starting with a beginning pixel value. For subsequent values, a differential is obtained by determining how much must be added to the previous value to obtain the current value. In other words, the current pixel value minus the previous pixel value obtains the residual associated with the current value. For example, the first residual is obtained by subtracting the preceding symbol (implied value “0”) from the current symbol (“+56”) (i.e., 56−0=+56). The second residual is obtained by subtracting the previous symbol 56 from 54 (54−56) to obtain a residual of “−2”). The third residual is 47−54 to obtain “−7”, the fourth residual is 40−47=“−7”, the fifth residual is 34−40=“−6”, the sixth residual is 31−34=“−3”, the seventh residual is 27−31=“−4” and the eighth residual is 26−27=“−1”. So, the resulting LPD residuals are +56, −2, −7, −7, −6, −3, −4 and −1, as illustrated in FIG. 7.

[0050] At S55 the PDF for the list of pixel data in LPD residual form is calculated. In this exemplary embodiment, the FIG. 3 set of categories and ranges are used to classify the residuals. As shown in FIG. 8, each differential residual is mapped into an associated category based on the FIG. 3 ranges and category associations. The first value, +56, falls into category 6. The second value, −2, falls into category 2. The third value, −7, falls into category 3. The fourth value, −7, falls into category 3. The fifth value, −6, falls into category 3. The sixth value, −3, falls into category 2. The seventh value, −4, falls into category 3. The eighth value, −1, falls into category 1. As shown in FIG. 9, the PDF distribution is category 3 with four residuals, category 2 with two residuals, category 1 with one residual and category 6 with one residual in descending order (i.e., CAT 3, CAT 2, CAT 1, CAT 6).

[0051] At S57 the VL coding table with a matching PDF list is selected (e.g., an ordered table with CAT 3, CAT 2, CAT 1 and CAT 6). Each stored table will have codeword associations for each PDF list combination. Referring to FIG. 10 and using the present example, a selected table will have VL codeword “0” associated with the CAT 3 symbol (the most frequently occurring symbol), codeword “10” associated with CAT 2 (the second most frequently occurring symbol), codeword “110” associated with CAT 1 (the next most frequently occurring symbol) and codeword “1110” associated with the CAT 6 symbol (the least frequently occurring symbol). In the case of a tie between occurrences, some arbitrary selection method will be used, such as the first encountered, or the category number which is higher than the other, such as the integer label for category 6 (i.e., “6”) is higher than category 1 label (i.e., “1”).

[0052] At S59 the bitstream will begin to be assembled with codeword mapping and offset calculation. The processing will begin with the first pixel value in the row, e.g. value 56 then processing will work across the row. For example, 56 is a CAT 6 value, so the first output value will be VL codeword 1110. The first offset value is the smallest value, so that will be the difference between the offset range value of −63 and +56, which will be 56. Thus, the first output data of [VL codeword, range position offset] for pixel signal value 56, +56 differential and CAT 6 will be [1110, 56]. The second output data for pixel signal data of 54, −2 differential and CAT 2 will be coded as [10, 1]. The third output data for pixel signal data of 47, −7 differential and CAT 3 will be coded as [0,0]. The fourth output data for pixel signal data of 40, −7 differential and CAT 3 will be coded as [0,0]. The fifth output data for pixel signal data of 34, −6 differential and CAT 3 will be [0,1]. The sixth output data for pixel signal data of 31, −3 differential and CAT 2 will be [10,0]. The seventh output data for pixel signal data of 27, −4 differential and CAT 3 will be [0,3]. The eighth output data for pixel signal data of 26, differential −1 and CAT 1 is [110,0]. Thus, as illustrated in FIG. 11, the compression logic 15 (FIG. 2) will send [1110, 56], [10,1], [0,0], [0,0], [0,2], [10,0], [0,3], [110,0] to the serializer logic unit 16 for output to the transmission unit 19 at S61.

[0053] It should be noted that the invention can be used with any imager including CMOS, CCD or any other imager using an array of imaging structures. Color pixels in an array can be processed by color channel per row. A single processor can be used to sequentially process each channel of pixels corresponding to a row of color pixels. Multiple co-processors can also be used to simultaneously process all color pixel channels as well. For example, an embodiment can sequentially process each channel of blue pixels, then red, then green. Also, the invention can be provided as a stand alone compression system, provided on an imaging chip or integrated with other imaging system components, including a pixel image system signal processor.

[0054] While exemplary embodiments of the invention have been described and illustrated, it should be apparent that many changes and modifications can be made without departing from the spirit or scope of the invention. Accordingly, the invention is not limited by the description above, but is only limited by the scope of the appended claims. 

What is claimed as new and desired to be protected by Letters Patent of the United States is:
 1. An image processing system comprising: a compression circuit for compressing a plurality of digital pixel signals by sequentially encoding each digital pixel signal by compressed category identifier and range position offset, wherein said compressed category identifier is determined based upon matching an ordered frequency distribution list of class identifiers derived from said digital pixel signals with one of a plurality of tables with a same frequency distribution, said frequency distribution list being determined based upon classifying differentially encoded sequentially received digital pixel signals, and wherein each differentially encoded digital pixel signal is associated with a class identifier based on a respective range of differential pixel signal values.
 2. An image processing system of claim 1 further comprising: an imaging array comprising a plurality of pixels; and a processor for outputting said digital pixel signals to said compression circuit, said digital pixel signals representing incident light on the pixels of said array.
 3. An image processing system of claim 1, wherein determination of said frequency distribution list of class identifiers is based on linear prediction differential residual data value ranges sequentially derived from said differentially encoded pixel signals.
 4. An image processing system of claim 1, wherein said range position offset is based upon ordered ranges respectively associated with a different one of said class identifiers, said offset relates to a position from a beginning of the ordered range associated with a related class identifier.
 5. An image processing system of claim 1, wherein said compressed category identifiers are variable length encoded code words.
 6. An image processing system of claim 1, wherein said tables comprise Huffman coded category tables comprising a plurality of frequency ordered variable length binary codewords associated with a related class identifier.
 7. An image processing system of claim 6, wherein said compressed category identifiers are ordered from a most frequently occurring class identifier to a least frequently occurring class identifier.
 8. An image processing system of claim 1, further comprising a CMOS sensor.
 9. An image processing system of claim 1, further comprising a CCD sensor.
 10. An image processing system of claim 1, wherein said digital pixel signals comprise signals associated with a plurality of color pixels.
 11. An image processing system of claim 10 wherein at least one of said color pixels comprises a red, blue and green pixel.
 12. An image processing system of claim 10, wherein at least one of said color pixels comprise a cyan, magenta or yellow pixel.
 13. An image processing system of claim 1, wherein said digital pixel signals comprise signals associated with a plurality of greyscale pixels.
 14. An image processing system comprising: means for encoding digital pixel signals as variable length encoded identifiers and range position offsets, each variable length encoded identifier being determined based on a table of said variable length identifiers, wherein said table is selected from a plurality of tables by matching an ordered list of category identifiers with a list associated with each one of said plurality of tables, said ordered list being ordered by frequency of occurrence of said category identifiers derived from said pixel signals, said ordered list of category identifiers determined on differentially encoded sequentially received ones of said pixel signals, each differentially encoded pixel signal being associated with a category identifier based on ranges of differential values wherein each range is associated with a category identifier.
 15. An image processing system of claim 14 further comprising: an imaging array comprising a plurality of pixels; and a processor circuit for outputting said digital pixel signals to said encoding means, said digital pixel signals representing incident light on said plurality of pixels.
 16. An image processing system of claim 14, wherein determination of said ordered list of category identifiers is based on linear prediction differential residual data value ranges derived from said pixel signals.
 17. An image processing system of claim 14, wherein each range position offset is based on ordered ranges associated with a category identifier.
 18. An image processing system of claim 14, wherein said tables comprise more than one variable length encoded binary value determined based on descending frequency of occurrence of category identifiers associated with said differentially encoded pixel signals.
 19. An image processing system of claim 14, wherein said tables comprise Huffman coded binary codeword tables.
 20. An image processing system of claim 19, wherein said variable length encoded identifiers are ordered from a most frequently occurring category identifier to a least frequently occurring category identifier.
 21. An imager system comprising: an imaging array comprising a plurality of pixels; a processor circuit for outputting digital pixel signals representing incident light on the pixels of said array; and a compression circuit for compressing said digital pixel signals by encoding said pixel signals such that successive pixel signals in each row are encoded as first and second transmission data determined based upon a plurality of first and second data, wherein: said first data is based on differences between a plurality of groups of at least two pixel signals; said second data is determined based upon at least one categorization of said first data values by predetermined ordered ranges, said second data comprising an ordered sequence of category identifiers by frequency of occurrence within said ranges; said first transmission data being assigned to said pixel signals from a selected codeword data set of a plurality of codeword data sets, said selected codeword data set being selected by matching said second data with one of said plurality of codeword data sets; and said second transmission data is determined for each pixel signal based upon a category identifier assigned to said pixel and position within a said range associated with said category identifier.
 22. An imager system of claim 21 wherein said plurality of first data comprises linear prediction differential residual data values for each channel of said plurality of pixels in a row.
 23. An imager system of claim 21, wherein said plurality of second data comprises an ordered list of category identifiers for linear prediction differential residual data value ranges corresponding to said first data values.
 24. An imager system of claim 21 wherein said second transmission data is a range position offset based upon ordered ranges associated with a category identifier, said offset relates to a position from a beginning of the ordered range associated with an associated category identifier.
 25. An imager system of claim 21, wherein said codeword data sets comprise more than one variable length codeword.
 26. An imager system of claim 21, wherein said codeword data sets comprise Huffman codes.
 27. An imager system of claim 21 wherein said codeword data sets comprise Huffman coding tables, wherein each coding table stores codewords associated with a category identifier, said codewords are ordered from a most frequently occurring category identifier having a smallest codeword bit-size value to a least frequently occurring category identifier having a largest bit-size codeword value.
 28. An imager system of claim 21 wherein said plurality of second data is based upon probability density function data for said plurality of first data.
 29. An imager system comprising: an imaging array comprising a plurality of pixels; a pixel signal processor circuit for outputting digital pixel signals representing incident light on the pixels of said array; and a compression circuit for compressing said digital pixel signals by encoding said pixel signals such that successive pixel signals in each row are encoded with a codeword and a range position offset, said codewords determined based upon a plurality of first and second data, wherein: said first data is based on differences between a plurality of groups of at least two pixel signals; said second data being determined based upon at least one categorization of said first data values by predetermined ordered ranges, said second data comprising an ordered sequence of category identifiers by frequency of occurrence associated within said ranges; said codewords being assigned to said pixel signals from a selected codeword data set of a plurality of codeword data sets, said selected codeword data set being selected by matching said second data with one of said plurality of codeword data sets, each set comprises one or more category identifiers ordered with a different sequence than identifiers in other of said sets and an associated codeword; and said range position offset for each pixel signal being determined based on a category identifier assigned to said pixel and the position within said range associated with said assigned category identifier.
 30. An imager system of claim 29 wherein said plurality of first data comprises linear prediction differential residual data values for each channel of said plurality of pixels in a row.
 31. An imager system of claim 29, wherein said plurality of second data comprises an ordered list of category identifiers for linear prediction differential residual data value ranges corresponding to said first data values.
 32. An imager system of claim 29, wherein said range position offset is based upon ordered ranges associated with a category identifier, said offset being related to position from the beginning of the ordered range associated with an associated category identifier.
 33. An imager system of claim 29, wherein said coding tables comprise more than one variable length codeword.
 34. An imager system of claim 29, wherein said codeword data sets comprise Huffman code tables.
 35. An imager system of claim 29, further comprising a CMOS sensor.
 36. An imager system of claim 29, further comprising a CCD sensor.
 37. An imager system of claim 29, wherein said plurality of second data is based upon probability density function data for said plurality of first data.
 38. An imager system comprising: an imager array comprising rows of pixels; a plurality of first data, a plurality of second data and a plurality of third data; a memory for storing a plurality of coding tables, each coding table comprising codewords ordered based on a frequency of occurrence of a plurality of classification data identifiers; and compression logic, said compression logic selecting one of a plurality of coding tables based on a match between said plurality of second data and said plurality of classification data identifiers, wherein said compression logic encodes signals from said imaging pixels based upon said selected coding table and said plurality of first, second and third data.
 39. An imager system of claim 38, wherein said first data comprises a plurality of differences between a plurality of sequential pixel sets within a pixel row, said second data is based on a plurality of pixel signal classification data, said classification data are associated with ranges of first data values, said second data comprising an ordered list of one or more said classification data identifiers, a classification identifier is being added to said ordered list when a said first data values falls within an associated range; said third data is determined in relation to a position that a said first data occupies within a said range.
 40. An imager system of claim 38, wherein said plurality of first data comprises linear prediction differential residual data values for each channel of said imaging structures in a row.
 41. An imager system of claim 38, wherein said plurality of second data comprises an ordered list of classification identifiers for linear prediction differential residual data value ranges.
 42. An imager system of claim 38, wherein said third data value comprises an offset that is based upon ordered ranges associated with a classification identifier, said offset relates to a position from a beginning of the ordered range associated with an associated classification identifier.
 43. An imager system of claim 38, wherein said coding tables comprise more than one variable length codeword.
 44. An imager system of claim 38 wherein said coding tables comprise Huffman coding tables, wherein each coding table stores codewords, said codewords being associated with a classification identifier, said codewords are ordered with a most frequently occurring classification identifier having the shortest codeword value and the least frequently occurring classification identifier having the longest codeword value.
 45. An imager system of claim 38, wherein said plurality of second data is based upon probability density function data for said plurality of first data.
 46. An image processing system comprising an image processing unit comprising: compression logic; and a memory for storing of a plurality of coding tables, each table comprising codewords in a sequence based on frequency of occurrence of symbol values; wherein said compression logic encodes imager signal data from a plurality of imaging structures based upon a said coding table and a plurality of first, second and third data.
 47. An image processing system of claim 46, wherein said first data values comprise a plurality of difference values determined based upon a plurality of sets of signals, each signal being derived from a different set of two said imaging structures, said second data values are determined based upon ordered ranges of first data values, said second data values ordered by frequency that a first data value falls within one of said ranges, each third data value is determined based upon a said first data value and a position within one of said ranges.
 48. An imager comprising: an imaging pixel array; a processing unit for processing pixel signals from said pixel array, said unit comprising: a first memory for storing a plurality of Huffman coding tables, contents of said tables being determined based on a plurality of different variation patterns between predetermined pixel row values, each of said coding tables comprising a plurality of category identifiers and associated Huffman codewords; an image storage memory for storing pixel data from a selected row of pixels in said pixel array; and a second memory for storing encoded row data for output, wherein said unit calculates pixel differentials for pixels in a selected row and probability density function data associated with categories of difference values, each category defining a range of said differentials, said unit encodes as an output said pixel data from a selected row based on a selected one of said Huffman coding tables, said Huffman coding table being selected based upon probability density function data.
 49. A method of performing image data compression comprising: sampling image data from a plurality of pixels; determining difference data for a plurality of first and second image data sets obtained from said image data; determining distribution data for said difference data, said distribution data being based upon frequency of occurrence of difference data within ranges of difference data, said distribution data being organized into categories, each category having a category identifier; selecting a variable length coding table with a matching distribution data from a plurality of variable length coding tables, each having different distribution data; determining a category identifier and a range position identifier associated with each of said difference data; and outputting a codeword and range position identifier for each of said difference data.
 50. A method of claim 49, wherein said range position identifier is determined based upon where difference data falls within a range associated with a related said category identifier which said difference data falls within.
 51. A method of claim 49, wherein said codeword is determined by matching a category identifier with said selected table.
 52. A method as in claim 49, wherein said codewords are variable length codewords based on a frequency of occurrence of said difference data by category identifier.
 53. A method as in claim 49, wherein said codewords are Huffman coded.
 54. A method of performing image data compression comprising reading a plurality of signals from a selected pixel row in an image sensor; calculating a plurality of linear predictive differential residuals based on differences between at least two or more of said plurality of signals from the selected row; calculating a plurality of probability density data based on said residuals, each of said categories being associated with an ordered range of residual data values; selecting a variable length code table with a matching probability density data from a plurality of variable length code tables with different sequences of probability density data; determining a category and a range position offset value for each residual data, said range position offset value relates to a position that an associated residual is located at in an associated range, said position being determined from the beginning of said range; and outputting each category as a codeword and an associated range position offset for each said residual, said codeword determined by matching a category identifier to a codeword in a selected table.
 55. A method of performing image data compression comprising: reading a plurality of pixel signals from a selected pixel row in an image sensor; determining a plurality of first data based on differences between a plurality of groups of at least two pixel signals; determining a plurality of second data based upon at least one categorization of said first data, said second data comprising an ordered sequence of category identifiers by frequency of occurrence within an ordered range; determining first transmission data for each pixel signal from a selected codeword data set of a plurality of codeword data sets, said selected codeword data set being selected by matching said second data with one of said plurality of codeword data sets; determining a second transmission data for each pixel signal based upon a said category identifier assigned to said pixel and position within a range associated with said category identifier; and outputting encoded pixel signals such that successive said pixel signals in each row are encoded with said first and second transmission data.
 56. A method as in claim 55, wherein said plurality of first data comprises linear prediction differential residual data values for each channel of said plurality of pixels in a row.
 57. A method as in claim 55, wherein said plurality of second data comprises an ordered list of category identifiers for linear prediction differential residual data value ranges corresponding to said first data.
 58. A method as in claim 55, wherein said second transmission data is a range position offset based upon ordered ranges associated with a category identifier.
 59. A method as in claim 55, wherein said codeword data sets comprise more than one variable length codeword.
 60. A method as in claim 55, wherein said codeword data sets comprise tables comprising Huffman codes.
 61. A method as in claim 55, wherein said codeword data sets comprise Huffman coding tables, wherein each coding table stores codewords, said codewords being associated with a category identifier, said codewords are ordered from a most frequently occurring category identifier having a shortest codeword value to a least frequently occurring category identifier having a longest codeword value.
 62. A method as in claim 55, wherein said plurality of second data is based upon probability density function data for said plurality of first data.
 63. A method of performing image data compression comprising: reading a plurality of pixel signals from a selected pixel row in an image sensor; differentially encoding sequentially received pixel signals; classifying said differentially encoded pixel signals into categories associated with ranges of said differentially encoded pixel signals; organizing said categorized differentially encoded pixel signals by frequency of occurrence into a list; matching said list with one of a plurality of variable length coded category tables; and sequentially encoding each said pixel signal with a binary code associated with a category identifier related to said pixel signal from said matching table and an associated range position identifier.
 64. A method of claim 63, wherein said differentially encoded sequentially received pixels signals comprises linear prediction differential residual data values of sequential pixel signals in a row.
 65. A method of claim 63, wherein said categories associated with ranges of said differentially encoded pixel signals comprises an ordered list of category identifiers for linear prediction differential residual data value ranges corresponding to said first data values.
 66. A method of claim 63, wherein said range position offset is based upon ordered ranges associated with a category identifier, said offset relates to position from the beginning of the ordered range associated with an associated category identifier.
 67. A method of claim 63, wherein said variable length coded category tables comprise more than one variable length codeword.
 68. A method of claim 63, wherein said variable length coded category tables comprise Huffman coded category tables.
 69. A method of claim 63, wherein determination of said categorized differentially encoded pixel signals being based on probability density function data for said differentially encoded pixel signals. 